package com.df.bpm.utils.businessViewerV2.informatization;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.df.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Table;
import java.util.Date;


/**
 * 信息化需求
 */
@TableName("businessOverview.informatizationRequirement")
@Getter
@Setter
@ToString
@Accessors(chain = true)
@Table(name="businessOverview.informatizationRequirement")
public class M_requirement extends BaseEntity {
    /**
     * 清单主键id
     */
    @Schema(description = "清单主键id")
    @TableId(value = "informatizationRequirementIndex", type = IdType.AUTO)
    private Integer informatizationRequirementIndex;
    /**
     * 编号
     */
    @Schema(description = "编号")
    private String number;
    /**
     * 需求名称
     */
    @Schema(description = "需求名称")
    private String name;

    /**
     * 承接者
     * 员工id
     */
    @Schema(description = "承接者员工id")
    private Integer employeeListIndex;
    /**
     * 备注
     * <P>为了方便搜索申请单<P/>
     */
    @Schema(description = "备注")
    private String tips;

    /**
     * 需求单状态
     * <P>1=ing;0=over;</P>
     */
    @Schema(description = "需求单状态")
    private Integer state;

    /**
     * (预计)完工日期
     */
    @Schema(description = "(预计)完工日期")
    private Date completionDateEstimate;

    /**
     * 完工日期
     */
    @Schema(description = "完工日期")
    private Date completionDate;

}

